package com.bw.dao;

import com.bw.util.JDBC;

import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;

/***************************
 FileAction:

 CreateTime:2022-05-12 13:39
 Author:Aaking-aline
 ****************************/
public class EmployeeDao {

	public void deleteEmployee(String id) throws SQLException {
		String sql = "delete from employee where id in(" + id + ")";
		Connection conn = JDBC.getConnection();
		PreparedStatement ps = conn.prepareStatement(sql);
		ps.executeUpdate();
	}



}
